<%--
  Created by IntelliJ IDEA.
  User: dzw
  Date: 2018/3/15
  Time: 9:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
  String path = request.getContextPath();
  String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<ul class="list-group">
  <c:forEach items="${residentList}" var="item" varStatus="index">
    <li class="list-group-item">${index.index+1} . ${item.name}</li>
  </c:forEach>
</ul>
